﻿using MediatR;
using Sale.ErrorCode;

namespace Sale.Api.Application.Command.ClientPrice
{
    public class AddClientPriceCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 客户单价编号
        /// </summary>
        public string ClientPriceCode { get; set; }
        /// <summary>
        /// 客户Id（主键唯一标识）
        /// </summary>
        public int ClientId { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public double Price { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Numder { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public double TotalAmount { get; set; }
        /// <summary>
        /// 客户单价备注
        /// </summary>
        public string ClientPriceRemark { get; set; }
    }
}
